package com.cskaoyan.service.adminservice;

import com.cskaoyan.bean.po.MarketCoupon;
import com.cskaoyan.bean.po.MarketCouponUser;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

/**
 * @author 小黑球
 * @datetime 2022/12/30 8:36
 * @description: TODO:
 */
public interface CouponsService {
    CommonData<MarketCoupon> list(BasePageInfo info, String name, Short type, Short status);

    void update(MarketCoupon marketCoupon);

    void delete(MarketCoupon marketCoupon);

    CommonData<MarketCouponUser> listuser(BasePageInfo info, Integer couponId, Integer userId, Short status);

    MarketCoupon read(Integer id);

    MarketCoupon create(MarketCoupon marketCoupon);
}
